﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common
{
    public class alertMsg
    {
        public static string AlertMsgsuccess()
        {
            return "{\"statusCode\":\"200\", \"message\":\"操作成功!\"}";
        }
        public static string AlertMsgsuccess(string str, string navTabId)
        {
            return "{\"statusCode\":\"200\", \"message\":\"操作成功!" + str + "\",\"navTabId\":\"" + navTabId + "\",\"rel\":\"\",\"callbackType\":\"\",\"forwardUrl\":\"\",\"confirmMsg\":\"\"}";
        }
        public static string AlertMsgfailure()
        {
            return "{\"statusCode\":\"300\", \"message\":\"操作失败\"}";
        }
        public static string AlertMsgfailure(string str)
        {
            return "{\"statusCode\":\"300\", \"message\":\"操作失败!" + str + "\"}";
        }
    }
}
